<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="${basePath}/css/register.css"/>
<link rel="stylesheet" type="text/css" href="${basePath}/css/form.css"/>
<script type="text/javascript">
	var contextPath = '${basePath}'; // 上下文 js 使用
</script>
<script type="text/javascript" src="${basePath}/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="${basePath}/js/jquery.validate-1.5.js"></script>
<script type="text/javascript" src="${basePath}/js/base.js"></script> 					<!-- 常用 js -->
<script type="text/javascript" src="${basePath}/js/core.js"></script> 	
<script type="text/javascript" src="${basePath}/js/pager.js"></script> 	
<script type="text/javascript" src="${basePath}/js/reg/person_register3.js"></script> 
<title>MSN人才网--个人会员注册</title>
<!-- 


num_shengao
num_tizhong
v_code
huji
suozaidi
v_xuexiao


v_zhuanye
v_dianhua
v_shouji
v_posts
v_address
v_pingjia 


-->
<style type="text/css">
</style>



<script type="text/javascript">
//判断是否存在中文
function is_zw(str){
	var exp=/[0-9a-zA-Z_]/g;
	if(str.search(exp) != -1){
		return false;
	}
	return true;
}
var validatorForm;
$(function() {
	// validate signup form on keyup and submit
	validatorForm = $("#regform").validate({
		rules: {
		v_name: {
				required: true,
				minlength: 2,
				maxlength: 10
			},
			num_shengao:{
				required: true,number:true
				},
			num_tizhong:{
				required: true,number:true
			},
			v_code:{
				required: true,number:true
			},
			huji:"required",
			huji1:"required",
			suozaidi:"required",
			suozaidi1:"required",	
			v_dianhua:"required",
		//	v_shouji:"required",
			//v_posts:"required",
			v_posts:{
				required: true,number:true
			},
			v_address:"required",
			v_pingjia:"required"
			
		},
		messages: {
			v_name: {
				required: "请输入姓名。",
				minlength: jQuery.format("至少 {0} 个字"),
				maxlength: jQuery.format("最大 {0} 个字")
			},
			
			num_shengao:{
				required: "请输入数字。",number:"必须为数字类型"
				},
			num_tizhong:{
					required: "请输入数字。",number:"必须为数字类型。"
			},
			v_code:{
				required: "请输入数字。", number:"必须为数字类型。"
			},
			huji:"请选择户籍",
			huji1:"请选择城市",
			suozaidi:"请选择所在地",
			suozaidi1:"请选择城市",	
			v_dianhua:"请输入联系电话",
			//v_shouji:"required",
			v_posts:{
				required: "请输入数字。", number:"必须为数字类型。"
			},
			v_address:"请输入地址",
			v_pingjia:"请输入个人评价"
		},
		submitHandler: function() {
			//alert("submitted!");
		},
		success: function(label) {
			label.html("&nbsp;").addClass("checked");
		}	
	});
	
	
});
function on_submit(form){

	//设置区域值
	form.v_huji.value=$("#huji option:selected").text();
	form.v_huji1.value=$("#huji1 option:selected").text();
	form.v_huji2.value=$("#huji2 option:selected").text();
	form.v_x_suozaidi.value=$("#suozaidi option:selected").text();
	form.v_x_suozaidi1.value=$("#suozaidi1 option:selected").text();
	form.v_x_suozaidi2.value=$("#suozaidi2 option:selected").text();

	if (document.regform.v_name.value==""){
		 alert("用户真实姓名不能为空值！");
		 document.regform.v_name.focus();
		 return false;
		 }
		 if (!is_zw(document.regform.v_name.value)){
		 alert("用户真实姓名必须是中文文字！");
		 document.regform.v_name.focus();
		 return false;
		 }
		  if (document.regform.v_name.value.length<2 || document.regform.v_name.value.length>10){
		 alert("用户真实姓名必须是2-10个中文文字组成！");
		 document.regform.v_name.focus();
		 return false;
		 }
		 if (document.regform.num_shengao.value.match(/\D/)){
		 alert("您的身高必须是合法的数字！");
		 document.regform.num_shengao.focus();
		 return false;
		 }

		 if (document.regform.num_tizhong.value.match(/\D/)){
		 alert("您的体重必须是合法的数字！");
		 document.regform.num_tizhong.focus();
		 return false;
		 }
		 
		
		  if (document.regform.v_dianhua.value==""){
		 alert("您的联系电话不能为空值！");
		 document.regform.v_dianhua.focus();
		 return false;
		 }
		  if (!is_number(document.regform.v_dianhua.value)){
		 alert("联系电话只能含有0-9和-！");
		 document.regform.v_dianhua.focus();
		 return false;
		 } 
		  if (!is_number(document.regform.v_shouji.value)){
		 alert("移动电话只能含有0-9和-！");
		 document.regform.v_shouji.focus();
		 return false;
		 } 

		  if (document.regform.v_qq.value!=""){
		  if (document.regform.v_qq.value.match(/\D/)){
		 alert("您的QQ号码必须是合法的数字！");
		 document.regform.v_qq.focus();
		 return false;
		  } 
		 }
		  if (document.regform.v_posts.value.length>6){
				 alert("请输入小于6或等6位邮编。");
				 document.regform.v_posts.focus();
				 return false;
		}
			 
	  if (document.regform.v_pingjia.value.length>500){
				 alert("输入评价不超过400字。");
				 document.regform.v_pingjia.focus();
				 return false;
      } 
	
	if(validatorForm.checkForm()){	
	 form.action="${basePath}/user/person!updateBaseInfo.do";
	/// return ;22
	document.regform.submit();// form.submit();
	}	
	//form.submit();
}
//通过 省份获取城市
function on_sheng(selid,city_sel,quyu_id){
	var url="${basePath}/city!getCityCodeByType.do?p=1";
	var shengcode=$("#"+selid).get(0).value;
	
	if(""==shengcode){
     return ;
	}
	var params={ type: "city",procode:shengcode};
	fillSelectAjax(city_sel,url,params,2);
	//清理区域
	var temp_select =$("#"+quyu_id).get(0);
	temp_select.options.length  = 0;
}

//通过城市获取区域
function on_city(selid,city_sel,quyu_id){
	var url="${basePath}/city!getCityCodeByType.do?p=1";
	var shengcode=$("#"+selid).get(0).value;
	
	if(""==shengcode){
    return ;
	}

	var citycode=$("#"+city_sel).get(0).value;
	if(""==citycode){
	    return ;
	}
	var params={ type: "quyu",procode:shengcode,citycode:citycode};
	fillSelectAjax(quyu_id,url,params,3);	
}
$(function(){

var url_huji="${basePath}/city!getCityCodeByType.do?p=1";
var params_huji={ type: "sheng"};
fillSelectAjax("huji",url_huji,params_huji,1);
var url_szdi="${basePath}/city!getCityCodeByType.do?p=1";
var params_szdi={ type: "sheng"};
fillSelectAjax("suozaidi",url_szdi,params_szdi,1);

});

function fillSelectAjax(sid,url,params,level){
	  url=url+"&rmd="+Math.random();
		jQuery.post(url,params,function(data){
	      //填充下来框
			var temp_select =$("#"+sid).get(0);
			temp_select.options.length  = 0;
			var sel_option = new Option("请选择", "");
			temp_select.options.add(sel_option);
			if(""==$.trim(data)){
               return ;
				}
			 var restObj=eval($.trim(data));
			 for(var i=0;i<restObj.length;i++){
				 var citycode="";
				  if(level==1){
					  citycode=restObj[i].oneid;
					}
				  if(level==2){
					  citycode=restObj[i].twoid;
					}
				  if(level==3){
					  citycode=restObj[i].threeid;
					}
					var temp_option = new Option(restObj[i].city,citycode);
					temp_select.options.add(temp_option);
				 }
			});			
	}





</script>


</head>
<body>
  <form action="${basePath}/user/person!updateBaseInfo.do" method="post" name="regform" id="regform" >
                    <input type="hidden" name="username" value="${user.username}" /> 
                    <input type="hidden" name="password" value="${user.password }" /> 
                    <input type="hidden" name="useremail" value="${user.useremail }" /> 
                    <input type="hidden" name="jobid" value="${user.jobid }"/> 
                    <input type="hidden" name="zazhi" value="${user.zazhi }"/> 
                    <input type="hidden" name="v_huji" value="${user.huji }"/>
                     <input type="hidden" name="v_huji1" value="${user.huji1 }"/>
                     <input type="hidden" name="v_huji2" value="${user.huji2 }"/>
                     <input type="hidden" name="v_x_suozaidi" value="${user.x_suozaidi }"/>
                     <input type="hidden" name="v_x_suozaidi1" value="${user.x_suozaidi1 }"/>
                     <input type="hidden" name="v_x_suozaidi2" value="${user.x_suozaidi2 }"/>


  <div class="clear"></div>
  <!--start 基本信息填写-->
  
  <div class="content">
  <div class="left"><strong class="title_name">基本资料<font class="clew"></font></strong></div>
   <div class="basic left">
   <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;真实姓名：</dt>
   <dd class="import"><input type="text"  name="v_name" id="v_name" value="${user.name }" size="8" class="textframe"/></dd>
   <dd class="contents">&nbsp;如:邓华国</dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;性&nbsp;&nbsp;&nbsp;&nbsp;别：</dt>
   <dd><select name="v_xingbie" id="v_xingbie" class="selectframe"> <option value="1" selected="selected">男</option><option value="0">女</option></select></dd>
   </dl>
    <div class="clear"></div><div class="buttom"></div>
   <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;民&nbsp;&nbsp;&nbsp;&nbsp;族：</dt>
   <dd>
   <select name="v_minzu" id="v_minzu" class="selectframe"> 
  <option  value=汉族>汉族</option> 
 <option value=蒙古族>蒙古族</option> 
 <option value=回族>回族</option>
 <option value=藏族>藏族</option> 
 <option value=维吾尔族>维吾尔族</option> 
 <option value=壮族>壮族</option> 
 <option value=苗族>苗族</option> 
 <option value=彝族>彝族</option> 
 <option value=满族>满族</option> 
 <option value=朝鲜族>朝鲜族</option> 
 <option value=布依族>布依族</option> 
 <option value=侗族>侗族</option> 
 <option value=瑶族>瑶族</option>
 <option value=白族>白族</option>
 <option value=土家族>土家族</option>
 <option value=哈尼族>哈尼族</option> 
 <option value=哈萨克族>哈萨克族</option> 
 <option value=傣族>傣族</option> 
 <option value=黎族>黎族</option> 
 <option value=傈僳族>傈僳族</option>
 <option value=佤族>佤族</option> 
 <option value=畲族>畲族</option> 
 <option value=高山族>高山族</option> 
 <option value=拉祜族>拉祜族</option>
 <option value=水族>水族</option>
 <option value=东乡族>东乡族</option>
 <option value=纳西族>纳西族</option>
 <option value=景颇族>景颇族</option>
 <option value=柯尔克孜族>柯尔克孜族</option>
 <option value=土族>土族</option>
 <option value=达斡尔族>达斡尔族</option>
 <option value=仫佬族>仫佬族</option>
 <option value=羌族>羌族</option>
 <option value=布朗族>布朗族</option>
 <option value=撒拉族>撒拉族</option>
 <option value=毛南族>毛南族</option>
 <option value=仡佬族>仡佬族</option> 
 <option value=锡伯族>锡伯族</option> 
 <option value=阿昌族>阿昌族</option> 
 <option value=普米族>普米族</option>
 <option value=塔吉克族>塔吉克族</option>
 <option value=怒族>怒族</option>
 <option value=乌兹别克族>乌兹别克族</option> 
 <option value=俄罗斯族>俄罗斯族</option> 
 <option value=鄂温克族>鄂温克族</option>
 <option value=德昂族>德昂族</option> 
 <option value=保安族>保安族</option>
 <option value=裕固族>裕固族</option> 
 <option value=京族>京族</option> 
 <option value=塔塔尔族>塔塔尔族</option> 
 <option value=独龙族>独龙族</option>
 <option value=鄂伦春族>鄂伦春族</option>
 <option value=赫哲族>赫哲族</option>
 <option value=门巴族>门巴族</option> 
 <option value=珞巴族>珞巴族</option> 
 <option value=基诺族>基诺族</option> 
 <option value=其它>其它</option>
   </select>
   </dd>
   </dl>
    <div class="clear"></div><div class="buttom"></div>
   <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;出生日期：</dt>
   <dd><select name="num_birthyear" id="num_birthyear" class="selectframe"> 
<option selected value=1930>1930</option><option value=1931>1931</option><option value=1932>1932</option>
<option value=1933>1933</option><option value=1934>1934</option><option value=1935>1935</option>
<option value=1936>1936</option><option value=1937>1937</option><option value=1938>1938</option>
<option value=1939>1939</option><option value=1940>1940</option><option value=1941>1941</option>
<option value=1942>1942</option><option value=1943>1943</option><option value=1944>1944</option>
<option value=1945>1945</option><option value=1946>1946</option><option value=1947>1947</option>
<option value=1948>1948</option><option value=1949>1949</option><option value=1950>1950</option>
<option value=1951>1951</option><option value=1952>1952</option><option value=1953>1953</option>
<option value=1954>1954</option><option value=1955>1955</option><option value=1956>1956</option>
<option value=1957>1957</option><option value=1958>1958</option><option value=1959>1959</option>
<option value=1960>1960</option><option value=1961>1961</option><option value=1962>1962</option>
<option value=1963>1963</option><option value=1964>1964</option><option value=1965>1965</option>
<option value=1966>1966</option><option value=1967>1967</option><option value=1968>1968</option>
<option value=1969>1969</option><option value=1970>1970</option><option value=1971>1971</option>
<option value=1972>1972</option><option value=1973>1973</option><option value=1974>1974</option>
<option value=1975>1975</option><option value=1976>1976</option><option value=1977>1977</option>
<option value=1978>1978</option><option value=1979>1979</option><option value=1980>1980</option>
<option value=1981>1981</option><option value=1982>1982</option><option value=1983>1983</option>
<option value=1984>1984</option><option value=1985>1985</option><option value=1986>1986</option>
<option value=1987>1987</option><option value=1988>1988</option><option value=1989>1989</option>
<option value=1990>1990</option><option value=1991>1991</option><option value=1992>1992</option>
<option value=1993>1993</option><option value=1994>1994</option><option value=1995>1995</option>
<option value=1996>1996</option><option value=1997>1997</option><option value=1998>1998</option>
<option value=1999>1999</option><option value=2000>2000</option><option value=2001>2001</option>
<option value=2002>2002</option><option value=2003>2003</option><option value=2004>2004</option>
<option value=2005>2005</option><option value=2006>2006</option><option value=2007>2007</option>

   </select>&nbsp;年
   <select name="num_birthmonth" id="num_birthmonth" class="selectframe">
<option  value=1>1</option><option value=2>2</option>
<option value=3>3</option><option value=4>4</option>
<option value=5>5</option><option value=6>6</option>
<option value=7>7</option><option value=8>8</option>
<option value=9>9</option><option value=10>10</option>
<option value=11>11</option><option value=12>12</option>
   </select>&nbsp;月 
   <select name="num_birthday" id="num_birthday" class="selectframe">
<option value=1>1</option><option value=2>2</option>
<option value=3>3</option><option value=4>4</option>
<option value=5>5</option><option value=6>6</option>
<option value=7>7</option><option value=8>8</option>
<option value=9>9</option><option value=10>10</option>
<option value=11>11</option><option value=12>12</option>
<option value=13>13</option><option value=14>14</option>
<option value=15>15</option><option value=16>16</option>
<option value=17>17</option><option value=18>18</option>
<option value=19>19</option><option value=20>20</option>
<option value=21>21</option><option value=22>22</option>
<option value=23>23</option><option value=24>24</option>
<option value=25>25</option><option value=26>26</option>
<option value=27>27</option><option value=28>28</option>
<option value=29>29</option>
<option value=30>30</option><option value=31>31</option>
   </select>&nbsp;日
   </dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;身&nbsp;&nbsp;&nbsp;&nbsp;高：</dt>
   <dd class="import"><input type="text"  name="num_shengao" id="num_shengao"  value="${user.shengao }" size="8" class="textframe"/></dd>
   <dd class="contents">&nbsp;<font style="color:#333;">cm</font>&nbsp;如：175</dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   
   
    <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;体&nbsp;&nbsp;&nbsp;&nbsp;重：</dt>
   <dd class="import"><input type="text"  name="num_tizhong" id="num_tizhong"  size="8" value="${user.tizhong }" class="textframe"/></dd>
   <dd class="contents">&nbsp;<font style="color:#333;">kg</font>&nbsp;如：65</dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   
    <dl>
   <dt class="datum">&nbsp;证件号码：</dt>
   <dd class="import"><input type="text"  name="v_code" id="v_code" value="${user.code }" size="8"  class="card"/></dd>
   <dd >&nbsp;类型
   <select class="selectframe" name="v_codetype">
   <option  value=0>身份证</option>
    <option value=1>护照</option>
    <option value=2>军官证</option> 
   <option value=3>学生证</option>
    <option value=4>其他</option>
   </select>
   </dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   
   
    <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;婚姻状况：</dt>
   <dd >
   <select class="selectframe" name="v_hunyin">
 <option value=0>保密</option> 
 <option value=1>未婚</option> 
 <option  value=2>已婚</option> 
 <option value=3>离异</option>
 </select>
   </dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   
   
    <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;户&nbsp;&nbsp;&nbsp;&nbsp;籍：</dt>
   <dd> 
   <select class="selectframe"  name="huji" id="huji" onchange="on_sheng('huji','huji1','huji2')">
    <option value="">请选择</option>
 
   </select>&nbsp;省(直辖市):
   <select class="selectframe" name="huji1" id="huji1"  onchange="on_city('huji','huji1','huji2')">
   <option value="">请选择</option>
  </select>市
    <select class="selectframe" name="huji2" id="huji2">
   <option value="">请选择</option>
  </select>
   地区、县
   </dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   
        <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;现所在地：</dt>
     <dd> 
   <select class="selectframe"  name="suozaidi" id="suozaidi" onchange="on_sheng('suozaidi','suozaidi1','suozaidi2')">
   <option value="">请选择</option>
  
   </select>&nbsp;省(直辖市):
   <select class="selectframe" name="suozaidi1" id="suozaidi1" onchange="on_city('suozaidi','suozaidi1','suozaidi2')">
    <option value="">请选择</option>
  </select>市
    <select class="selectframe" name="suozaidi2" id="suozaidi2" >
    <option value="">请选择</option>
  </select>
  地区、县
   </dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   </div>
     
  
   
 
   <div class="left"><strong class="title_name">联系方式</strong></div>
   
   <div class="basic left">
   <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;联系电话：</dt>
   <dd class="import"><input type="text"  name="v_dianhua" id="v_dianhua" value="${user.dianhua }" size="35" class="textframe"/></dd>
   <dd class="contents">&nbsp;[固定电话、移动电话或寻呼机号码]</dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   <dl>
   <dt class="datum">&nbsp;移动电话：</dt>
   <dd class="import"><input type="text"  name="v_shouji" value="${user.shouji }" id="v_shouji" size="35" class="textframe"/></dd>
   <dd class="contents">&nbsp;如：7952073</dd>
   </dl>
    <div class="clear"></div><div class="buttom"></div>
   <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;电子邮件：</dt>
   <dd class="import"><input type="text"  name="v_useremail" value="${user.useremail }" id="v_useremail" size="35" class="textframe"/></dd>
   <dd class="contents">&nbsp;</dd>
   </dl>
    <div class="clear"></div><div class="buttom"></div>
   <dl>
   <dt class="datum">&nbsp;q&nbsp;q：</dt>
   <dd class="import"><input type="text"  name="v_qq"  value="${user.qq }" id="v_qq" size="35" class="textframe"/></dd>
   <dd class="contents">&nbsp;</dd>
  
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   
     <dl>
   <dt class="datum">&nbsp;个人主页：</dt>
   <dd class="import"><input type="text"  name="v_gerenzhuye" id="v_gerenzhuye" 
    size="35" class="textframe" value="${user.gerenzhuye }"/></dd>
   <dd class="contents">&nbsp;</dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   
    <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;邮政编码：</dt>
   <dd class="import"><input type="text"  name="v_posts" id="v_posts" value="${user.posts }" size="5" class="textframe" /></dd>
   <dd class="contents">&nbsp;如430525</dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   
   
    <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;通讯地址：</dt>
   <dd class="import"><input type="text"  name="v_address" id="v_address"  value="${user.address }" size="55" class="textframe"/></dd>
   <dd class="contents">&nbsp;如:深圳市罗湖区红岗花园7栋</dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
   </div>
    <div class="left"><strong class="title_name">自我评价</strong></div>
   
   <div class="basic left">
    <dl>
   <dt class="datum"><font class="clew">*</font>&nbsp;描&nbsp;&nbsp;述：</dt>
   <dd class="import">
   <br></br>
   请用简洁的词语描述自己的综合能力,字数在500字以内，如果你要真证的找工作，请详细描述自己的优点、特长、技能，它将对你找工作很有利。
   <br></br>
   <textarea cols="40" rows="6"  name="v_pingjia">
   ${user.pingjia }
   </textarea>
   </dd>
   <dd class="contents">&nbsp; 
 </dd>
   </dl>
   <div class="clear"></div><div class="buttom"></div>
  <!--end 基本信息填写-->
  <div>
   <dl>
   <dt class="datum">&nbsp;</dt>
   <dd>
   <input type="button"  name="submission"  id="submission"  value="保存基本信息"  class="button"  onclick="on_submit(this.form)" style="margin-left:5px; margin-top:10px;"/>
   </dd>
   </dl>
  </div>
  </div>
  </div>

  <div class="clear"></div>


</form>


<script type="text/javascript">
function init_info(){
     //民族
	setSelect('v_minzu', '${user.minzu }');
	setSelect('num_birthyear', '${user.birthyear }');
	setSelect('num_birthmonth', '${user.birthmonth }');
	setSelect('num_birthday', '${user.birthday }');
	setSelect('v_xingbie', '${user.xingbie }');
	setSelect('v_codetype', '${user.codetype }');
	setSelect('v_hunyin', '${user.hunyin }');
	
	
	 setTimeout("set_init_city()",1000);
	 set_one_option('huji1','${user.huji1}');
	 set_one_option('huji2','${user.huji2}');
	 set_one_option('suozaidi1','${user.x_suozaidi1}');
	 set_one_option('suozaidi2','${user.x_suozaidi2}');
	
}

//时间延长加载
function set_init_city(){
	setSelect_text('huji','${user.huji}');
	setSelect_text('suozaidi','${user.x_suozaidi }');
}
function set_one_option($id,$value){
	var temp_select =$("#"+$id).get(0);
	//temp_select.options.length  = 0;
	var sel_option = new Option($value, $value);
	sel_option.selected = true;
	temp_select.options.add(sel_option);
	
}

$(function(){

	init_info();
});
</script>
</body>
</html>

